var arr=[1,2,3];
var arr:number[]=[1,2,3];
var arr:Array<number>=new Array<number>();